export default {
  namespaced: true,
  state: {
    token: '',
    role: '',
    userInfo: {}
  },
  mutations: {
    INIT_USER (state, { token, role, userInfo }) {
      state.token = token
      state.role = role
      state.userInfo = userInfo
    }
  }
}
